package com.xinsoft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinsoft.common.page.PageModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

@EqualsAndHashCode(callSuper = true)
@Data
public class ScmOutsourcingOutstockParam extends PageModel {


    /**
     * 出库单号
     */
    private String outstockCode;

    /**
     * 供应商id
     */
    private Integer supplierId;
    private String supplierName;

    /**
     * 物料名称
     */
    private String materialName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endTime;
}
